<tpl var layoutBody={ />
<div data-identity="sys:user" data-table="sys_user">
	<div class="layui-breadcrumb">
		<a href="/manage/index.jspx">首页</a>
		<a href="/manage/sys/user/index.jspx">用户管理</a>
		<a href="javascript:;">
			<cite>查看</cite>
		</a>
	</div>
	<hr>
	<fieldset class="layui-elem-field">
		<legend>查看 用户管理</legend>
		<div class="layui-field-box">
			<div class="layui-form">
				<div class="layui-form-item nobottom" data-type="varchar" data-isnull="YES" data-name="name">
					<label class="layui-form-label">用户名称：</label>
					<div class="layui-form-mid layui-word-aux">${record.name!}</div>
				</div>
				<div class="layui-form-item nobottom" data-type="int" data-isnull="NO" data-name="role_id">
					<label class="layui-form-label">所属用户组：</label>
					<div class="layui-form-mid layui-word-aux">
						<tpl for(item in groups){ />
						<span class="layui-badge layui-bg-green">${item.name}</span>
						<tpl } />
					</div>
				</div>
				<div class="layui-form-item nobottom" data-type="int" data-isnull="NO" data-name="role_id">
					<label class="layui-form-label">所属角色：</label>
					<div class="layui-form-mid layui-word-aux">
						<tpl for(item in roles){ />
						<span class="layui-badge layui-bg-green">${item.name}</span>
						<tpl } />
					</div>
				</div>
				<div class="layui-form-item nobottom" data-type="int" data-isnull="NO" data-name="role_id">
					<label class="layui-form-label">登录账号：</label>
					<div class="layui-form-mid layui-word-aux">
						<tpl for(item in bindList){ />
						<span class="layui-badge-rim">${item.type,type="user"}:${item.account}</span>
						<tpl } />
					</div>
				</div>
				<div class="layui-form-item nobottom" data-type="varchar" data-isnull="NO" data-name="phone">
					<label class="layui-form-label">联系方式：</label>
					<div class="layui-form-mid layui-word-aux">${record.phone!}</div>
				</div>
				<div class="layui-form-item nobottom" data-type="varchar" data-isnull="YES" data-name="qq">
					<label class="layui-form-label">联系QQ：</label>
					<div class="layui-form-mid layui-word-aux">${record.qq!}</div>
				</div>
				<div class="layui-form-item nobottom" data-type="varchar" data-isnull="YES" data-name="email">
					<label class="layui-form-label">联系邮箱：</label>
					<div class="layui-form-mid layui-word-aux">${record.email!}</div>
				</div>
				<div class="layui-form-item nobottom" data-type="datetime" data-isnull="YES" data-name="create_time">
					<label class="layui-form-label">创建时间：</label>
					<div class="layui-form-mid layui-word-aux">${record.createTime!, "yyyy-MM-dd HH:mm:ss"}</div>
				</div>
				<div class="layui-form-item nobottom" data-type="varchar" data-isnull="YES" data-name="avatar">
					<label class="layui-form-label">头像：</label>
					<div class="layui-input-avatar">
						<img src='${record.avatar!,image="avatar"}' class="layui-input-avatar-view">
					</div>
				</div>
				<hr>
				<div class="layui-form-item">
					<a class="layui-btn layui-btn-primary" href="javascript:history.go(-1)">返回</a>
				</div>
			</div>
		</div>
	</fieldset>
</div>
<tpl }; />

<tpl var layoutScript={ />
<script type="text/javascript">
	layui.use(['element'], function () {});
</script>
<tpl }; />
<tpl include( "../../tpl/layout-scroll.html" ,{identity: "sys:user" ,layoutBody:layoutBody,layoutScript:layoutScript}){} />